inherited crdModule: TcrdModule
  Left = 400
  Top = 250
  Width = 363
  Height = 134
  Caption = #1057#1086#1079#1076#1072#1090#1100'/'#1080#1079#1084#1077#1085#1080#1090#1100' '#1084#1086#1076#1091#1083#1100' '#1043#1056#1040#1044
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel [0]
    Left = 42
    Top = 10
    Width = 58
    Height = 13
    Alignment = taRightJustify
    Caption = #1048#1044' '#1052#1086#1076#1091#1083#1103
  end
  object Label2: TLabel [1]
    Left = 41
    Top = 32
    Width = 59
    Height = 13
    Alignment = taRightJustify
    Caption = #1050#1086#1076' '#1084#1086#1076#1091#1083#1103
  end
  object Label3: TLabel [2]
    Left = 10
    Top = 54
    Width = 90
    Height = 13
    Alignment = taRightJustify
    Caption = #1053#1072#1079#1074#1072#1085#1080#1077' '#1084#1086#1076#1091#1083#1103
  end
  inherited Panel1: TPanel
    Top = 80
    Width = 355
    inherited BitBtn1: TBitBtn
      Left = 148
    end
    inherited BitBtn2: TBitBtn
      Left = 250
    end
  end
  inherited ToolBar1: TToolBar
    Width = 355
    Height = 0
  end
  object dbeId: TDBEditEh [5]
    Left = 108
    Top = 8
    Width = 69
    Height = 19
    AlwaysShowBorder = True
    Color = clInactiveCaptionText
    DataField = 'ID'
    DataSource = dscReportForms
    EditButtons = <>
    Enabled = False
    Flat = True
    ReadOnly = True
    TabOrder = 2
    Visible = True
  end
  object dbeCode: TDBEditEh [6]
    Left = 108
    Top = 30
    Width = 239
    Height = 19
    AlwaysShowBorder = True
    DataField = 'FORMCODE'
    DataSource = dscReportForms
    EditButtons = <>
    Flat = True
    TabOrder = 3
    Visible = True
  end
  object dbeModuleName: TDBEditEh [7]
    Left = 108
    Top = 52
    Width = 239
    Height = 19
    AlwaysShowBorder = True
    DataField = 'MODULENAME'
    DataSource = dscReportForms
    EditButtons = <>
    Flat = True
    TabOrder = 4
    Visible = True
  end
  inherited ActionList1: TActionList
    Left = 254
    Top = 4
    inherited aSave: TAction
      OnExecute = aSaveExecute
    end
    inherited aCancel: TAction
      OnExecute = aCancelExecute
    end
  end
  inherited PropStorage: TPropStorageEh
    Left = 288
    Top = 4
  end
  object trReferUpdate: TpFIBTransaction
    DefaultDatabase = MAINDM.pMainDatabase
    TimeoutAction = TARollback
    Left = 200
    Top = 44
  end
  object dsReportForms: TpFIBDataSet
    UpdateSQL.Strings = (
      'UPDATE USERMODULE'
      'SET '
      '    FORMCODE = :FORMCODE,'
      '    MODULENAME = :MODULENAME'
      'WHERE'
      '    ID = :OLD_ID'
      '    ')
    DeleteSQL.Strings = (
      'DELETE FROM'
      '    USERMODULE'
      'WHERE'
      '        ID = :OLD_ID'
      '    ')
    InsertSQL.Strings = (
      'INSERT INTO USERMODULE('
      '    FORMCODE,'
      '    MODULENAME'
      ')'
      'VALUES('
      '    :FORMCODE,'
      '    :MODULENAME'
      ')'
      'returning id')
    RefreshSQL.Strings = (
      'select id, formcode, modulename FROM usermodule um'
      'WHERE UM.ID = :OLD_ID'
      '    ')
    SelectSQL.Strings = (
      'select id, formcode, modulename FROM usermodule um'
      'where id  = :id  ')
    AllowedUpdateKinds = [ukModify, ukInsert]
    Transaction = trReferUpdate
    Database = MAINDM.pMainDatabase
    Left = 228
    Top = 44
    oFetchAll = True
    object dsReportFormsID: TFIBIntegerField
      DisplayLabel = #1048#1044
      FieldName = 'ID'
    end
    object dsReportFormsFORMCODE: TFIBIntegerField
      DisplayLabel = #1050#1086#1076' '#1084#1086#1076#1091#1083#1103
      FieldName = 'FORMCODE'
    end
    object dsReportFormsMODULENAME: TFIBStringField
      DisplayLabel = #1053#1072#1079#1074#1072#1085#1080#1077' '#1084#1086#1076#1091#1083#1103
      FieldName = 'MODULENAME'
      Size = 40
      EmptyStrToNull = True
    end
  end
  object dscReportForms: TDataSource
    DataSet = dsReportForms
    Left = 256
    Top = 44
  end
end
